package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author junz123
 * @since 2018-04-21
 */
@TableName("bus_prduct_info")
public class BusPrductInfo extends Model<BusPrductInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 记录编号
     */
    @TableId(value="ID", type= IdType.UUID)
    private String id;
    /**
     * 企业编号
     */
    @TableField("COM_ID")
    private String comId;
    @TableField(exist = false)
    private String comName;
    /**
     * 产品名称
     */
    @TableField("PRD_NAME")
    private String prdName;
    /**
     * 产品图片
     */
    @TableField("PRD_IMG_FILENAME")
    private String prdImgFilename;
    @TableField(exist = false)
    private String prdImgFilePath;
    /**
     * 产品描述
     */
    @TableField("PRD_DESC")
    private String prdDesc;
    /**
     * 产品执行标准
     */
    @TableField("PRD_GB")
    private String prdGb;
    /**
     * 状态
     */
    @TableField("STATUS")
    private Integer status;
    @TableField("CREATETIME")
    private Date createtime;
    @TableField("VERSION")
    private Integer version;
    @TableField("MAINTAINER")
    private String maintainer;
    @TableField("DEL_FLAG")
    private Integer delFlag;
    @TableField("PRD_NO")
    private String prdNo;

    public String getPrdNo() {
        return prdNo;
    }

    public void setPrdNo(String prdNo) {
        this.prdNo = prdNo;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public String getPrdImgFilePath() {
        return prdImgFilePath;
    }

    public void setPrdImgFilePath(String prdImgFilePath) {
        this.prdImgFilePath = prdImgFilePath;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getComId() {
        return comId;
    }

    public void setComId(String comId) {
        this.comId = comId;
    }

    public String getPrdName() {
        return prdName;
    }

    public void setPrdName(String prdName) {
        this.prdName = prdName;
    }

    public String getPrdImgFilename() {
        return prdImgFilename;
    }

    public void setPrdImgFilename(String prdImgFilename) {
        this.prdImgFilename = prdImgFilename;
    }

    public String getPrdDesc() {
        return prdDesc;
    }

    public void setPrdDesc(String prdDesc) {
        this.prdDesc = prdDesc;
    }

    public String getPrdGb() {
        return prdGb;
    }

    public void setPrdGb(String prdGb) {
        this.prdGb = prdGb;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getMaintainer() {
        return maintainer;
    }

    public void setMaintainer(String maintainer) {
        this.maintainer = maintainer;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "BusPrductInfo{" +
        "id=" + id +
        ", comId=" + comId +
        ", prdName=" + prdName +
        ", prdImgFilename=" + prdImgFilename +
        ", prdDesc=" + prdDesc +
        ", prdGb=" + prdGb +
        ", status=" + status +
        ", createtime=" + createtime +
        ", version=" + version +
        ", maintainer=" + maintainer +
        ", delFlag=" + delFlag +
        "}";
    }
}
